<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateProductprizeTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
public function up()
	{
		//
		Schema::create('productprice',function ($table)
		{
			
			$table->string('_id');
			$table->string('productid');
			$table->string('categoryid');
			$table->string('price');
			$table->string('sellprice');
			$table->date('startdate');
			$table->date('enddate');
			//$table->string('parentid');
			$table->timestamps();
			$table->softDeletes();
		});

	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('productprice');
	}
}
